package com.fastjpa.vo;

import com.efeichong.mapping.Mapping;
import com.efeichong.mapping.UseMode;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
* @author admin
* @date 2022/07/17
* @description 班级
*/
@Setter
@Getter
public class SaveClazzVo {
    /**id**/
    private Long id;

    /**班级名称**/
    private String name;

    @Mapping(poProperty = "teachers.id", useMode = UseMode.TO_PO)
    private List<Long> teacherIds;
}
